package com.gxa.modules.mapper.accessmapper;

import com.gxa.common.R;
import com.gxa.modules.pojo.Organizational;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrganizationalMapper {
    public List<Organizational> selectOrganizational(@Param("organizationalName") String organizationalName,
                                                     @Param("organizationalLevel") String organizationalLevel,
                                                     @Param("startIndex") int statrIndex,
                                                     @Param("endIndex") int endIndex);
    public List<Organizational> selectOrganizationalByPids(@Param("pids") long pids);


    public int insertOrganizational(Organizational organizational);

    public int deleteOrganizational(@Param("organizationalId") String organizationalId);

    public int updateOrganizational(Organizational organizational);
}
